package com.qg.wcsopcuaqj.business.service.impl;

import com.qg.wcsopcuaqj.business.entity.TWcsTask;
import com.qg.wcsopcuaqj.business.mapper.TWcsTaskMapper;
import com.qg.wcsopcuaqj.business.service.ITWcsTaskService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * wcs 任务信息表 服务实现类
 * </p>
 *
 * @author caixiang
 * @since 2021-11-10
 */
@Service
public class TWcsTaskServiceImpl extends ServiceImpl<TWcsTaskMapper, TWcsTask> implements ITWcsTaskService {
    @Autowired
    TWcsTaskMapper mapper;


    @Override
    public Boolean update(TWcsTask tWcsTask) {
        return mapper.updateById(tWcsTask, tWcsTask.getId()) == 1;
    }
}
